package com.ecoolex.union.pay.retailer.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.union.pay.retailer.entity.UnionPayAutoReceiveCouponConfig;
import com.ecoolex.union.pay.retailer.entity.UnionPayAutoReceiveCouponConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface UnionPayAutoReceiveCouponConfigMapper {
    long countByExample(UnionPayAutoReceiveCouponConfigExample example);

    int deleteByExample(UnionPayAutoReceiveCouponConfigExample example);

    int deleteByPrimaryKey(Integer configId);

    int insert(UnionPayAutoReceiveCouponConfig record);

    int insertSelective(@Param("record") UnionPayAutoReceiveCouponConfig record, @Param("selective") UnionPayAutoReceiveCouponConfig.Column ... selective);

    UnionPayAutoReceiveCouponConfig selectOneByExample(UnionPayAutoReceiveCouponConfigExample example);

    List<UnionPayAutoReceiveCouponConfig> selectByExample(UnionPayAutoReceiveCouponConfigExample example);

    UnionPayAutoReceiveCouponConfig selectByPrimaryKey(Integer configId);

    UnionPayAutoReceiveCouponConfig selectByPrimaryKeyWithLogicalDelete(@Param("configId") Integer configId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") UnionPayAutoReceiveCouponConfig record, @Param("example") UnionPayAutoReceiveCouponConfigExample example, @Param("selective") UnionPayAutoReceiveCouponConfig.Column ... selective);

    int updateByExample(@Param("record") UnionPayAutoReceiveCouponConfig record, @Param("example") UnionPayAutoReceiveCouponConfigExample example);

    int updateByPrimaryKeySelective(@Param("record") UnionPayAutoReceiveCouponConfig record, @Param("selective") UnionPayAutoReceiveCouponConfig.Column ... selective);

    int updateByPrimaryKey(UnionPayAutoReceiveCouponConfig record);

    int batchInsert(@Param("list") List<UnionPayAutoReceiveCouponConfig> list);

    int batchInsertSelective(@Param("list") List<UnionPayAutoReceiveCouponConfig> list, @Param("selective") UnionPayAutoReceiveCouponConfig.Column ... selective);

    int logicalDeleteByExample(@Param("example") UnionPayAutoReceiveCouponConfigExample example);

    int logicalDeleteByPrimaryKey(Integer configId);
}